package com.contextor.magiccards.services.user;

import com.contextor.magiccards.dao.user.UserDao;
import com.contextor.magiccards.model.errors.dao.ObjectNotFoundException;
import com.contextor.magiccards.model.user.User;
import com.contextor.magiccards.services.BaseEntityService;

/**
 * User: sergey
 * Date: Mar 14, 2011 3:26:17 PM
 */
public interface UserService extends BaseEntityService<User, UserDao> {
    User findByUid(int shardId, String uid);

    User loadByUid(int shardId, String uid) throws ObjectNotFoundException;
}
